package com.clickpaas.materialsprocurement.service;

import com.bizcloud.ipaas.t0ba0ba6afb694026b6b4e4e048af2b43.d20210202135416.model.STDmaterielDTO;
import com.clickpaas.materialsprocurement.entity.MaterialsEntity;

import java.util.List;


public interface MaterialsService {

    /**
     * 获取物料数据
     * @return
     */
    public List<STDmaterielDTO> getMaterialsInfo(MaterialsEntity materialsEntity);

    /**
     * 物料数据转换为bean
     * @return
     */
    public List<MaterialsEntity> MaterialDataListConver(List<STDmaterielDTO> materList);

    /**
     * 物料数据转换为bean
     * @return
     */
    public MaterialsEntity MaterialDataConver(STDmaterielDTO mater);

    /**
     * 物料数据入库
     * @return
     */
    public boolean insertMaterialInfo(MaterialsEntity materialsEntity);

}
